<?php
/**
 * PISOneAM
 *
 * 专业IT监控系统
 *
 * @package		PISOneAM
 * @author		ExpressionEngine Dev Team
 * @copyright	Copyright (c) 2008 - 2011, EllisLab, Inc.
 * @license		http://www.m135.com/license.html
 * @link		http://www.m135.com
 * @since		Version 1.0
 * @filesource
 */

class DK_Controller extends CI_Controller   //must be DK_Controller
{
	function __construct()
	{
		parent::__construct();
		
	}
}
//需要验证的页面继承此类即可
class DK_auth extends DK_Controller
{
	function __construct()
	{
		parent::__construct();
		if(!$this->session->userdata('UserAccount'))
		{
			redirect(base_url()."index.php/login");
		}
		
	}
	
}